package com.gcb.controller.system.domain;

import com.gcb.common.annotation.Excel;
import com.gcb.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 开通运营的城市对象 gcb_open_city
 *
 * @author ruoyi
 * @date 2024-04-15
 */
public class GcbOpenCity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 城市
     */
    @Excel(name = "城市")
    private String city;

    /**
     * 城市编码
     */
    @Excel(name = "城市编码")
    private String cityGeocode;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String lon;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String lat;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    @Getter
    @Setter
    private Integer status;
    @Getter
    @Setter
    private String statusStr;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }

    public void setCityGeocode(String cityGeocode) {
        this.cityGeocode = cityGeocode;
    }

    public String getCityGeocode() {
        return cityGeocode;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLon() {
        return lon;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("city", getCity())
                .append("cityGeocode", getCityGeocode())
                .append("lon", getLon())
                .append("lat", getLat())
                .append("sort", getSort())
                .toString();
    }
}
